<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/bootstrap.css">
    <!-- 这个是bootstrap 文件依赖的文件 -->
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="./js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="css/index.css">
    <script defer src="./js/index.js" type="module"></script>
</head>

<body>
    <div class="container-fluid">
        <!-- 第一行 -->
        <div class="row anniu">
            <div class="col-xs-12">
                <input type="text" class="form-control w title" placeholder="标题">
                <input type="text" class="form-control w user" placeholder="发布人">
                <input type="date" class="form-control w date">
                <button type="button" class="btn btn-primary bw add">新增</button>

            </div>
        </div>

        <!-- 第二行 -->
        <div class="row con">
            <div class="col-xs-12">
                <table class="table table-bordered">
                    <thead>
                        <tr>
                            <th>序号</th>
                            <th>标题</th>
                            <th>发布人</th>
                            <th>发布时间</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>1</td>
                            <td>在移动设备开发</td>
                            <td>张若昀</td>
                            <td>2022/02/09</td>
                            <td>
                                <button type="button" class="btn btn-danger del">删除</button>
                                <button type="button" class="btn btn-primary edit">编辑</button>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>

        <!-- 模态框 -->
        <div class="modal fade" id="myModal" tabindex="-1" role="dialog">
            <div class="modal-dialog" role="document">
                <div class="modal-content modalSize">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                                aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title">编辑</h4>
                    </div>
                    <div class="modal-body">
                        <p>
                            <input type="text" class="form-control modaltitle" placeholder="标题">
                        </p>
                        <p>
                            <input type="text" class="form-control modaluser" placeholder="发布人">
                        </p>
                        <p>
                            <input type="date" class="form-control modaldate" placeholder="发布时间">
                        </p>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-primary editSure" data-dismiss="modal">更新</button>
                        <button type="button" class="btn btn-primary close1">取消</button>
                    </div>
                </div><!-- /.modal-content -->
            </div><!-- /.modal-dialog -->
        </div><!-- /.modal -->
    </div>
</body>

</html>